//饼状图
export let chartOption_pie = {
    color:['#334B5C','#C23531'],
    tooltip: {
        trigger: 'item',
        formatter: "{b} : {c} ({d}%)"
    },
    legend: {
        x:'center',
        data: []
    },
    series: [
        {
            type:'pie',
            radius : '55%',
            label: {
                normal: {
                    position: 'inner'
                }
            },
            data:[]
        }
    ]
};
//柱状图(单)
export let chartOption_bar1 = {
    color: ['#3398DB'],
    tooltip: {
      trigger: 'axis',
      axisPointer : {            // 坐标轴指示器，坐标轴触发有效
          type : 'shadow'        // 默认为直线，可选为：'line' | 'shadow'
      }
    },
    grid: {
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true
    },
    legend: {
      data: []
    },
    xAxis: [
        {
            type: 'category',
            data: [ ],
            axisPointer: {
                type: 'shadow'
            }
        }
    ],
    yAxis: [
        {
            type: 'value'
        }
    ],
    series: [
        {
            name:'',
            type:'bar',
            itemStyle:{
              normal:{
                  color:'#58AFFF'
              }
            },
            barWidth: '30%',
            barMaxWidth: '80px',
            data:[]
        }
    ]
};
//柱状图(双)
export let chartOption_bar2 = {
    color: ['#3398DB'],
    tooltip: {
      trigger: 'axis',
      axisPointer : {            // 坐标轴指示器，坐标轴触发有效
          type : 'shadow'        // 默认为直线，可选为：'line' | 'shadow'
      }
    },
    grid: {
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true
    },
    legend: {
      data: []
    },
    xAxis: [
        {
            type: 'category',
            data: [ ],
            axisPointer: {
                type: 'shadow'
            }
        }
    ],
    yAxis: [
        {
            type: 'value'
        }
    ],
    series: [
        {
            type:'bar',
            itemStyle:{
              normal:{
                  color:'#58AFFF'
              }
            },
            barWidth: '30%',
            barMaxWidth: '80px',
            data:[]
        },
        {
            type:'bar',
            itemStyle:{
                normal:{
                    color:'#FA5454'
                }
            },
            barWidth: '30%',
            barMaxWidth: '80px',
            data:[]
        } 
    ]
};